﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPWinFormWork.Product.ProductDtos
{
    /// <summary>
    /// 出库
    /// </summary>
    public class StockoutDtos
    {
        public int Id { get; set; }
        /// <summary>
        /// 出库单名称
        /// </summary>
        [DisplayName("出库单名称")]
        public string Stockout_Name { get; set; }

        /// <summary>
        /// 出库单编号
        /// </summary>
        [DisplayName("出库单编号")]
        public string Stockout_Number { get; set; }

        ///// <summary>
        ///// 出货检验单id
        ///// </summary>
        //public int InspectionId { get; set; }

        /// <summary>
        /// 检验编号
        /// </summary>
        [DisplayName("检验编号")]
        public string InspectionNode { get; set; }

        /// <summary>
        /// 出库日期
        /// </summary>
        [DisplayName("出库日期")]
        public DateTime Stockout_Time { get; set; }

        ///// <summary>
        ///// 销售(关联)
        ///// </summary>
        //public int Sales_Id { get; set; }


        /// <summary>
        /// 销售编号
        /// </summary>
        [DisplayName("销售编号")]
        public string Sales_Number { get; set; }


        /// <summary>
        /// 客户名称
        /// </summary>
        [DisplayName("客户名称")]
        public string Customer_Name { get; set; }

        ///// <summary>
        ///// 客户(关联)
        ///// </summary>
        //public int Customer_Id { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
        public string Stockout_Desc { get; set; }

        ///// <summary>
        ///// 产品主键(关联)
        ///// </summary>
        //public int Product_Id { get; set; }

        /// <summary>
        ///成品名称
        /// </summary>
        [DisplayName("成品名称")]
        public string Product_Name { get; set; }

        /// <summary>
        /// 成品编号
        /// </summary>
        [DisplayName("成品编号")]
        public string Product_Number { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        [DisplayName("规格型号")]
        public string Specification { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        [DisplayName("单位")]
        public string Stockout_Unit { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        [DisplayName("生产日期")]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 到期日期
        /// </summary>
        [DisplayName("到期日期")]
        public DateTime OpenTime { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        [DisplayName("批次号")]
        public string Batch { get; set; }

        /// <summary>
        /// 出库数量
        /// </summary>
        [DisplayName("出库数量")]
        public int Stockout_Num { get; set; }

        ///// <summary>
        ///// 仓库(关联)
        ///// </summary>
        //public int Warehouse_Id { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        [DisplayName("仓库名称")]
        public string Warehouse_Name { get; set; }

        ///// <summary>
        ///// 库位
        ///// </summary>
        //public int AreaId { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        [DisplayName("库位名称")]
        public string Warehouse_area { get; set; }

        ///// <summary>
        ///// 库区
        ///// </summary>
        //public int StorageId { get; set; }

        /// <summary>
        /// 库区名称
        /// </summary>
        [DisplayName("库区名称")]
        public string Storage_location { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [DisplayName("状态")]
        public string Stockout_State { get; set; }

    }
}
